diff --git a/Classes/Controller/JoblistController.php b/Classes/Controller/JoblistController.php
index 013706879b5968ed9170155ac6cc753c4bd09e1b..b4ec970cb715f8eda3701bc3598637295a100c04 100644
--- a/Classes/Controller/JoblistController.php
+++ b/Classes/Controller/JoblistController.php
@@ -60,7 +60,7 @@ class JoblistController extends ActionController {
 	 * @throws \InvalidArgumentException
 	 */
 	public function indexAction() {
-		$recordPageId = $this->configurationManager->getConfiguration(
+		$recordPageId = (int) $this->configurationManager->getConfiguration(
 			ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK
 		)['persistence']['storagePid'];
 
diff --git a/Classes/Service/FrontendFilterService.php b/Classes/Service/FrontendFilterService.php
index ff5fe91a0459e55063478ed207cd65ed012407fd..1cb8e05b5c5c25f0cdc7ab5775a6305454669421 100644
--- a/Classes/Service/FrontendFilterService.php
+++ b/Classes/Service/FrontendFilterService.php
@@ -229,7 +229,7 @@ class FrontendFilterService {
 			'tx_sgjobs_domain_model_company'
 		);
 
-		$statement = $queryBuilder->select('a.function')
+		$statement = $queryBuilder->select('a.job_function')
 			->from('tx_sgjobs_domain_model_job', 'a')
 			->join(
 				'a', 'tx_sgjobs_domain_model_company', 'b'
@@ -274,12 +274,12 @@ class FrontendFilterService {
 			)
 		);
 
-		$functions = $statement->execute()->fetchAll();
+		$jobFunctions = $statement->execute()->fetchAll();
 
 		$result = [];
 		$result[0] = '';
-		foreach ($functions as $function) {
-			$result[$function['function']] = $function['function'];
+		foreach ($jobFunctions as $jobFunction) {
+			$result[$jobFunction['job_function']] = $jobFunction['job_function'];
 		}
 
 		return $result;